type runtime.cleanupFn
11 uses
runtime (current package)
mcleanup.go#L177: id := addCleanup(unsafe.Pointer(ptr), cleanupFn{
mcleanup.go#L292: cleanups [(cleanupBlockSize - unsafe.Sizeof(cleanupBlockHeader{})) / unsafe.Sizeof(cleanupFn{})]cleanupFn
mcleanup.go#L298: type cleanupFn struct {
mcleanup.go#L331: func (b *cleanupBlock) enqueue(c cleanupFn) bool {
mcleanup.go#L461: func (q *cleanupQueue) enqueue(c cleanupFn) {
mcleanup.go#L728: b.cleanups[i] = cleanupFn{}
mgcmark.go#L254: scanblock(uintptr(unsafe.Pointer(&cb.cleanups[0])), n*unsafe.Sizeof(cleanupFn{}), &cleanupBlockPtrMask[0], gcw, nil)
mgcmark.go#L492: scanblock(uintptr(unsafe.Pointer(&spc.cleanup)), unsafe.Sizeof(cleanupFn{}), &cleanupFnPtrMask[0], gcw, nil)
mheap.go#L2163: cleanup cleanupFn
mheap.go#L2172: func addCleanup(p unsafe.Pointer, c cleanupFn) uint64 {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |